package com.example.util;

import java.util.logging.Logger;

/**
 * Created with IntelliJ IDEA.
 * User: Jasic
 * Date: 12-11-23
 */
public class LoggerUtil {

    public static void info(Class clazz, String info){
        Logger logger = Logger.getLogger(clazz.getSimpleName());
        logger.info(info);
    }

    public static void info(String preName, String info) {
        Logger logger = Logger.getLogger(preName);
        logger.info(info);
    }
}
